package com.ruoyi.technician.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 技师信息对象 jy_store_technician
 *
 * @author ch
 * @date 2021-11-24
 */
@ApiModel
public class StoreTechnician extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    @ApiModelProperty(value = "${comment}")
    private Long id;

    /** 门店id */
    @Excel(name = "门店id")
    @ApiModelProperty(value = "门店id")
    private Long storeId;

    /** 技师用户id ,不要使用该字段，*/
    @Excel(name = "技师用户id")
    @ApiModelProperty(value = "技师用户id")
    private Long storeUserId;

    /** 是否启用 */
    @Excel(name = "是否启用")
    @ApiModelProperty(value = "是否启用")
    private String state;

    /** 技师头像 */
    @Excel(name = "技师头像")
    @ApiModelProperty(value = "技师头像")
    private String techImage;

    /** 技师背景图 */
    @Excel(name = "技师背景图")
    @ApiModelProperty(value = "技师背景图")
    private String techBacImage;

    /** 技师分类 */
    @Excel(name = "技师分类")
    @ApiModelProperty(value = "技师分类")
    private String techType;

    /** 技师名称 */
    @Excel(name = "技师名称")
    @ApiModelProperty(value = "技师名称")
    private String techName;

    /** 技师电话 */
    @Excel(name = "技师电话")
    @ApiModelProperty(value = "技师电话")
    private String techPhone;

    /** 技师职称 */
    @Excel(name = "技师职称")
    @ApiModelProperty(value = "技师职称")
    private String techPositional;

    /** 从业年限 */
    @Excel(name = "从业年限")
    @ApiModelProperty(value = "从业年限")
    private String workYears;

    /** 服务人数 */
    @Excel(name = "服务人数")
    @ApiModelProperty(value = "服务人数")
    private Long serviceNum;

    /** 擅长领域 */
    @Excel(name = "擅长领域")
    @ApiModelProperty(value = "擅长领域")
    private String goodatAreas;
    /**
     * 技师角色id
     */
    private Long userRoleId;

    public Long getUserRoleId() {
        return userRoleId;
    }

    public void setUserRoleId(Long userRoleId) {
        this.userRoleId = userRoleId;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setStoreId(Long storeId)
    {
        this.storeId = storeId;
    }

    public Long getStoreId()
    {
        return storeId;
    }
    public void setStoreUserId(Long storeUserId)
    {
        this.storeUserId = storeUserId;
    }

    public Long getStoreUserId()
    {
        return storeUserId;
    }
    public void setState(String state)
    {
        this.state = state;
    }

    public String getState()
    {
        return state;
    }
    public void setTechImage(String techImage)
    {
        this.techImage = techImage;
    }

    public String getTechImage()
    {
        return techImage;
    }
    public void setTechBacImage(String techBacImage)
    {
        this.techBacImage = techBacImage;
    }

    public String getTechBacImage()
    {
        return techBacImage;
    }
    public void setTechType(String techType)
    {
        this.techType = techType;
    }

    public String getTechType()
    {
        return techType;
    }
    public void setTechName(String techName)
    {
        this.techName = techName;
    }

    public String getTechName()
    {
        return techName;
    }
    public void setTechPhone(String techPhone)
    {
        this.techPhone = techPhone;
    }

    public String getTechPhone()
    {
        return techPhone;
    }
    public void setTechPositional(String techPositional)
    {
        this.techPositional = techPositional;
    }

    public String getTechPositional()
    {
        return techPositional;
    }
    public void setWorkYears(String workYears)
    {
        this.workYears = workYears;
    }

    public String getWorkYears()
    {
        return workYears;
    }
    public void setServiceNum(Long serviceNum)
    {
        this.serviceNum = serviceNum;
    }

    public Long getServiceNum()
    {
        return serviceNum;
    }
    public void setGoodatAreas(String goodatAreas)
    {
        this.goodatAreas = goodatAreas;
    }

    public String getGoodatAreas()
    {
        return goodatAreas;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("storeId", getStoreId())
            .append("storeUserId", getStoreUserId())
            .append("state", getState())
            .append("techImage", getTechImage())
            .append("techBacImage", getTechBacImage())
            .append("techType", getTechType())
            .append("techName", getTechName())
            .append("techPhone", getTechPhone())
            .append("techPositional", getTechPositional())
            .append("workYears", getWorkYears())
            .append("serviceNum", getServiceNum())
            .append("goodatAreas", getGoodatAreas())
            .append("delState", getDelState())
            .append("delUser", getDelUser())
            .append("delType", getDelType())
            .append("delTime", getDelTime())
            .append("createBy", getCreateBy())
            .append("createType", getCreateType())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateType", getUpdateType())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
